package com.badminton.commendSys.domain;

import java.util.List;
import java.util.Date;

import com.badminton.HubSys.domain.EquipmentHub;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.badminton.common.annotation.Excel;
import com.badminton.common.core.domain.BaseEntity;

/**
 * 装备推荐对象 equipmentrecommendation
 *
 * @date 2024-07-04
 */
public class Equipmentrecommendation extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 推荐ID */
    private Long recommendationid;

    /** 装备ID */
    @Excel(name = "装备ID")
    private Long r_equipmentid;

    /** 用户ID */
    private Long r_userid;

    /** 推荐人 */
    @Excel(name = "推荐人")
    private String recommendedby;

    /** 推荐理由 */
    @Excel(name = "推荐理由")
    private String recommendationtext;

    /** 推荐时间 */
    private Date createdat;

    public Long getRecommendationid() {
        return recommendationid;
    }

    public void setRecommendationid(Long recommendationid) {
        this.recommendationid = recommendationid;
    }

    public Long getR_equipmentid() {
        return r_equipmentid;
    }

    public void setR_equipmentid(Long r_equipmentid) {
        this.r_equipmentid = r_equipmentid;
    }

    public Long getR_userid() {
        return r_userid;
    }

    public void setR_userid(Long r_userid) {
        this.r_userid = r_userid;
    }

    public String getRecommendedby() {
        return recommendedby;
    }

    public void setRecommendedby(String recommendedby) {
        this.recommendedby = recommendedby;
    }

    public String getRecommendationtext() {
        return recommendationtext;
    }

    public void setRecommendationtext(String recommendationtext) {
        this.recommendationtext = recommendationtext;
    }

    public Date getCreatedat() {
        return createdat;
    }

    public void setCreatedat(Date createdat) {
        this.createdat = createdat;
    }

    public List<EquipmentHub> getEquipmentHubList() {
        return equipmentHubList;
    }

    public void setEquipmentHubList(List<EquipmentHub> equipmentHubList) {
        this.equipmentHubList = equipmentHubList;
    }

    /** 装备列表信息 */
    private List<EquipmentHub> equipmentHubList;

    // Getters and Setters

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("recommendationid", getRecommendationid())
                .append("r_equipmentid", getR_equipmentid())
                .append("r_userid", getR_userid())
                .append("recommendedby", getRecommendedby())
                .append("recommendationtext", getRecommendationtext())
                .append("createdat", getCreatedat())
                .append("equipmentHubList", getEquipmentHubList())
                .toString();
    }
}
